package com.fh.shop.api.recipient.biz;

import com.fh.shop.api.common.ServerResponse;
import com.fh.shop.api.recipient.po.Recipient;

public interface IRecipientService {
    //添加收件人信息
    ServerResponse addRecipient(Recipient recipient);
    //查询收件人信息
    ServerResponse findList(Long id);
    //更新收件人信息,是否是默认地址
    ServerResponse updateStatus(Long id,Long memberId);
    //删除收件人信息
    ServerResponse deleteRecipient(Long id,Long memberId);
    //回填收件人信息
    ServerResponse findRecipient(Long id);
    //修改收件人信息
    ServerResponse updateRecipient(Recipient recipient);
}
